﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/SalesOneWeb.Master" CodeBehind="AssignPermissions.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.UserManagement.AssignPermissions" %>

<%@ Register src="../UserControls/UCGrid.ascx" tagname="UCGrid" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
    
        <table class="style1">
            <tr>
                <td class="style2">
                    Select User Role</td>
                <td>
                    <asp:DropDownList ID="ddlUserRole" runat="server" 
                        onselectedindexchanged="ddlUserRole_SelectedIndexChanged" 
                        AutoPostBack="True">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td>
                    <asp:GridView ID="grdTasks" runat="server" BackColor="LightGoldenrodYellow" BorderColor="Tan"
                BorderWidth="1px" CellPadding="2" ForeColor="Black" GridLines="None" 
                Width="376px" OnRowDataBound="grdUsers_RowDataBound" 
                        onrowcreated="grdUsers_RowCreated">
                <Columns>
                <asp:TemplateField HeaderText="Enquiry">
                        <ItemTemplate>
                            <asp:CheckBox ID="chkEnquiry" runat="server" 
                                />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Create">
                        <ItemTemplate>
                            <asp:CheckBox ID="chkCreate" runat="server" 
                                />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Update">
                        <ItemTemplate>
                            <asp:CheckBox ID="chkUpdate" runat="server" 
                                />
                        </ItemTemplate>
                    </asp:TemplateField>
                     <asp:TemplateField HeaderText="Delete">
                        <ItemTemplate>
                            <asp:CheckBox ID="chkDelete" runat="server" 
                                />
                        </ItemTemplate>
                    </asp:TemplateField>
                     
                     
                </Columns>
                <FooterStyle BackColor="Tan" />
                <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                <HeaderStyle BackColor="Tan" Font-Bold="True" />
                <AlternatingRowStyle BackColor="PaleGoldenrod" />
            </asp:GridView>
                    
                </td>
            </tr>
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td>
                    <asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" 
                        Text="Save Permissions" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                                        
                    </td>
            </tr>
        </table>
    
   </asp:Content>